var MODE_INSERT = 1;
var MODE_COMBINE = 2;
var MODE_EDIT = 3;
var MODE_INSERT_CHILD = 4;

function showStips(el){
	try{
		var ds = makeDS(
			{ bank:rsField(el,"Bank").Value,
				program:rsField(el,"Program").Value,
				tier:rsField(el,"Tier").Value,
				term:rsField(el,"Term").Value,
				ltv:rsField(el,"LTV").Value,
				apr:rsField(el,"Rate").Value,
				payment:rsField(el,"Pmt").Value,
				stips:rsField(el,"Stips").Value.replace(/[\s\S]+<!--CUT-->/,"").replace("display:none","")
			});
	}catch(e){
		var ds = makeDS(
			{ bank:rsField(el,"Bank").Value,
				program:rsField(el,"Program").Value,
				tier:rsField(el,"Tier").Value,
				term:"",
				ltv:"",
				apr:"",
				payment:"",
				stips:rsField(el,"Stips").Value.replace(/[\s\S]+<!--CUT-->/,"").replace("display:none","")
			});
	}
	showModelessDialog("/manager/GuideLines/common/ShowStips.htm",{ds:ds},"status:0;resizable:1");
}
